package cn.springmvc.mapper;

import cn.springmvc.model.SysUser;
import cn.springmvc.model.SysUserCriteria;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * ClassName: SysUserMapper <br/>
 * Function: 用户. <br/>
 * Reason: TODO ADD REASON(可选). <br/>
 * date: 2016年6月8日 下午4:31:32 <br/>
 *
 * @author i1093108915@yeah.net
 * @version 
 * @since JDK 1.6
 */
public interface SysUserMapper {
    int countByExample(SysUserCriteria example);

    int deleteByExample(SysUserCriteria example);

    int deleteByPrimaryKey(String sid);

    int insert(SysUser record);

    int insertSelective(SysUser record);

    List<SysUser> selectByExample(SysUserCriteria example);

    SysUser selectByPrimaryKey(String sid);

    int updateByExampleSelective(@Param("record") SysUser record, @Param("example") SysUserCriteria example);

    int updateByExample(@Param("record") SysUser record, @Param("example") SysUserCriteria example);

    int updateByPrimaryKeySelective(SysUser record);

    int updateByPrimaryKey(SysUser record);
}